﻿<%@	Page Language="C#" MasterPageFile="~/App_Layouts/Default.master" Title="Bez panike | Naslovna"
	CodeFile="Default.aspx.cs" Inherits="Default_aspx" %>

<asp:content id="Content1" contentplaceholderid="Main" runat="server">

	<div class="shim column"></div>
	
	<div class="page" id="home">
		<div id="sidebar">
		    <asp:PlaceHolder ID="phPrijava" runat="server">
			    <div class="login">
				    <h4>Prijava</h4>
				    <asp:label runat="server" id="lblKorisnickoIme" CssClass="label" associatedcontrolid="tbKorisnickoIme">Korisničko ime</asp:label>
				    <asp:textbox runat="server"	id="tbKorisnickoIme" cssclass="textbox" accesskey="u" />
				    <asp:requiredfieldvalidator	runat="server" id="KorisnickoImeObavezno" controltovalidate="tbKorisnickoIme" validationgroup="Login1" errormessage="Korisničko ime je obavezno." tooltip="Korisničko ime je obavezno." >*</asp:requiredfieldvalidator>
				    <asp:label runat="server" id="lblLozinka" CssClass="label" associatedcontrolid="tbLozinka">Lozinka</asp:label>
				    <asp:textbox runat="server"	id="tbLozinka" textmode="Password" cssclass="textbox" accesskey="p" />
				    <asp:requiredfieldvalidator	runat="server" id="LozinkaObavezna" controltovalidate="tbLozinka" validationgroup="Login1" tooltip="Lozinka je obavezna." >*</asp:requiredfieldvalidator>
				    <div><asp:checkbox runat="server" id="chkZapamtiMe" text="Zapamti me sledeci put"/></div>
				    <asp:imagebutton runat="server"	id="btnPrijava" CommandName="Login" OnClick="Prijava_OnClick" AlternateText="prijava" skinid="login" CssClass="button"/>
				    ili
				    <a href="register.aspx"	class="button"><asp:image id="Image1" runat="server"  AlternateText="napravi novi nalog" skinid="create"/></a>
				    <p><asp:Label	runat="server" id="lblGreska"	enableviewstate="False"></asp:Label></p>
			    </div>
			</asp:PlaceHolder>
			<asp:PlaceHolder ID="phStatusPrijave" runat="server" Visible="false">
			    <asp:Label ID="lblStatusPrijave" runat="server"></asp:Label>
			</asp:PlaceHolder>
			<hr />
			<h4>Pretraga direktorija</h4>
			<p><asp:TextBox ID="tbSearch" runat="server"></asp:TextBox><asp:Button ID="btnSearch" runat="server" OnClick="BtnTrazi_Click" Text="Trazi" /></p>
		</div>
		<div id="content">
			<h3>Dobrodosli na sajt Bez panike</h3>
			<p>Na ovom sajtu mozete pretrazivativati veliku bazu linkova web sajtova iz regiona. 
                Ako zelite da dodajete svoje linkove registrujte se na stranici za registraciju 
                i na svojoj korisnickoj strani ce te moci dodavati linkove.</p>
			<hr	/>
			<div>
				<h4>Poslednji linkovi</h4>
				<dl class="link">
                <asp:Repeater ID="TopRepeater" runat="server">
                    <ItemTemplate>
                        <dt><a href="<%# Eval("Url") %>"><%# Eval("ImeFirme") %></a></dt>
                        <dd><label id="LabelImeOpisTop" runat="server"></label></dd>
                    </ItemTemplate>
                </asp:Repeater>
                </dl>
			</div>
			<hr	/>
		</div>
	</div>
	
</asp:content>
